import request from '@/utils/request';

export default {
  list(data) {
    return request({
      url: '/api/stock/collect/list',
      method: 'POST',
      data
    })
  },
  modify(data) {
    return request({
      url: '/api/stock/collect/edit',
      method: 'POST',
      data
    })
  },
  detail(data) {
    return request({
      url: '/api/stock/collect/detail',
      method: 'POST',
      data
    })
  },
  del(data) {
    return request({
      url: '/api/stock/collect/del',
      method: 'POST',
      data
    })
  },
  cancel(data) {
    return request({
      url: '/api/stock/collect/cancel',
      method: 'POST',
      data
    })
  },
  finished(data) {
    return request({
      url: '/api/stock/collect/finished',
      method: 'POST',
      data
    })
  },
  all(data) {
    return request({
      url: '/api/stock/collect/all',
      method: 'POST',
      data
    })
  }
}
